<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      th:replace="layouts/master(title='新增学生')"><!-- layout文件路径-->


<th:block th:fragment="css">
    <!--如果没有内容，请保持 -->

    <link rel="stylesheet" href="/plugins/bootstraptable/bootstrap-table.min.css">
    <link rel="stylesheet" href="/css/_all-skins.min.css">

</th:block>

<div th:fragment="content" class="content-wrapper">
    <!--Page content-->
    <!--===================================================-->
    <div class="content">
        <div class="row">
            <div class="col-md-12">
                <div class="box box-primary">
                    <div class="box-header with-border">
                        <h3 class="box-title">新增学生信息</h3>
                    </div>
                    <!-- /.box-header -->
                    <!-- form start -->
                    <form role="form" action="/webapi/student/add" method="post">
                        <div class="box-body">
                            <div class="form-group">
                                <label for="name">学生姓名</label>
                                <input type="text" class="form-control" id="name" name="name" placeholder="学生姓名">
                            </div>
                            <div class="form-group">
                                <label for="sex">性别</label>
                                <input type="text" class="form-control" id="sex" name="sex" placeholder="性别">
                            </div>
                            <div class="form-group">
                                <label for="score">成绩</label>
                                <input type="number" class="form-control" id="score" name="score">


                            </div>

                        </div>
                        <!-- /.box-body -->

                        <div class="box-footer">
                            <button type="submit" class="btn btn-primary">新增</button>
                        </div>
                    </form>
                </div>
            </div>



        </div>


    </div>


    <!--===================================================-->
    <!--End page content-->
</div>

<div th:fragment="scripts">
    <!--如果没有内容，请保持 -->

    <!--    <script  type="text/javascript" src="/pagejs/student/add.js"></script>-->


</div>


</html>
